package com.stud.system.domain;

import com.stud.common.annotation.Excel;
import com.stud.common.core.domain.BaseEntity;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.SqlCondition;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.*;

/**
 * 简单通查对象 t_query_config
 *
 * @author Stud
 * @date 2022-11-11
 */
@ApiModel("简单通查")
@Data
@TableName("t_query_config")
public class QueryConfig extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @Excel(name = "查询名称")
    @TableField(condition = SqlCondition.LIKE)
    @ApiModelProperty(name = "queryName", value = "查询名称")
    private String queryName;

    @Excel(name = "查询编码")
    @TableField(condition = SqlCondition.LIKE)
    @ApiModelProperty(name = "queryCode", value = "查询编码")
    private String queryCode;

    @Excel(name = "查询语句")
    @ApiModelProperty(name = "querySql", value = "查询语句")
    private String querySql;

    @Excel(name = "返回类型")
    @ApiModelProperty(name = "returnType", value = "返回类型")
    private String returnType;

    @Excel(name = "开关")
    @ApiModelProperty(name = "flag", value = "开关")
    private String flag;
}
